package edu.gdkm.dao;

import edu.gdkm.pojo.Book;

import java.util.List;

public interface IBookDao {
    public int insertBook(Book book) throws Exception;
    public int deleteBookByBid(Integer bid) throws Exception;
    public int updateBookByBid(Book book) throws Exception;
    public Book queryBookByBid(Integer bid) throws Exception;
    public List<Book> queryAllBook() throws Exception;
    public Integer queryBookCount() throws Exception;
}
